package com.rabbit.eap.system.dto;

import com.rabbit.eap.framework.core.validator.groups.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @projectName: eap
 * @packageName: com.rabbit.eap.system.dto
 * @className: IdDTO
 * @author： rabbit
 * @version： 1.0
 * @since： 2020/10/1 17:24
 * <p>Description: IdDTO </p>

 */
@Data
@Accessors(chain = true)
@ApiModel(value = "id封装对象", description = "id封装对象")
public class IdDTO {
    @ApiModelProperty(required = true)
    @NotNull(message = "common.id.blank",groups = {UpdateGroup.class})
    private Long id;
}
